import request from '@/hooks/request'

const Api = {
  getUserBalanceRecordAdmin: 'platform/user/getUserBalanceRecordAdmin', // 查询票大人账户资金记录(管理员)
  getWechatRobotListAdmin: '/platform/wechatRobot/getWechatRobotListAdmin', // 查询微信列表(管理员)
  getFishRobotListAdmin: '/platform/fish/getFishRobotListAdmin', //  查询闲鱼列表(管理员)
}

export const getUserBalanceRecordAdmin = (parameter: Record<any, any>) => {
  return request({
    method: 'post',
    url: Api.getUserBalanceRecordAdmin,
    data: parameter,
  })
}

export const getWechatRobotListAdmin = (parameter: Record<any, any>) => {
  return request({
    method: 'post',
    url: Api.getWechatRobotListAdmin,
    data: parameter,
  })
}

export const getFishRobotListAdmin = (parameter: Record<any, any>) => {
  return request({
    method: 'post',
    url: Api.getFishRobotListAdmin,
    data: parameter,
  })
}
